package cn.hzking.gjmall.bean;

import com.google.gson.annotations.SerializedName;

import cn.hzking.gjmall.net.base.BaseEntity;

/**
 * Created by Administrator on 2018/4/2.
 */

public class WxLoginBean extends BaseEntity {


    /**
     * accessKey : Uzc8Z8jX0p3zwkst1z
     * code : 0
     * data : {"bottom":{"cart_number":0,"is_seller":false},"gjmall_login_token":"98","required_bind":true,"shareHomeUrl":"http://localhost:8081/shop/index.htm?shopid=184229581","shopId":"184229581","top":{"headimgurl":"http://gjmall.oss-cn-hangzhou.aliyuncs.com/gj/wxShopPhoto/%E6%96%B0%E9%87%91%E8%89%B2.jpg","shopdesc":"全球正品好货","shopname":"官方商城1"}}
     * msg :
     */

    private String accessKey;
    private int code;
    private DataBean data;
    private String msg;

    public String getAccessKey() {
        return accessKey;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * bottom : {"cart_number":0,"is_seller":false}
         * gjmall_login_token : 98
         * required_bind : true
         * shareHomeUrl : http://localhost:8081/shop/index.htm?shopid=184229581
         * shopId : 184229581
         * top : {"headimgurl":"http://gjmall.oss-cn-hangzhou.aliyuncs.com/gj/wxShopPhoto/%E6%96%B0%E9%87%91%E8%89%B2.jpg","shopdesc":"全球正品好货","shopname":"官方商城1"}
         */

        private BottomBean bottom;
        @SerializedName("tokenapp")
        private String gjmall_login_token;
        private boolean required_bind;
        private String shareHomeUrl;
        private String shopId;
        private TopBean top;
        private String version_code;
        private String addressId;
        @SerializedName("sUSER_ID")
        private String s_USER_ID;

        public String getVersion_code() {
            return version_code;
        }

        public void setVersion_code(String version_code) {
            this.version_code = version_code;
        }

        public String getAddressId() {
            return addressId;
        }

        public void setAddressId(String addressId) {
            this.addressId = addressId;
        }

        public String getGjmall_login_userid() {
            return s_USER_ID;
        }

        public void setGjmall_login_userid(String gjmall_login_userid) {
            this.s_USER_ID = gjmall_login_userid;
        }

        public BottomBean getBottom() {
            return bottom;
        }

        public void setBottom(BottomBean bottom) {
            this.bottom = bottom;
        }

        public String getGjmall_login_token() {
            return gjmall_login_token;
        }

        public void setGjmall_login_token(String gjmall_login_token) {
            this.gjmall_login_token = gjmall_login_token;
        }

        public boolean isRequired_bind() {
            return required_bind;
        }

        public void setRequired_bind(boolean required_bind) {
            this.required_bind = required_bind;
        }

        public String getShareHomeUrl() {
            return shareHomeUrl;
        }

        public void setShareHomeUrl(String shareHomeUrl) {
            this.shareHomeUrl = shareHomeUrl;
        }

        public String getShopId() {
            return shopId;
        }

        public void setShopId(String shopId) {
            this.shopId = shopId;
        }

        public TopBean getTop() {
            return top;
        }

        public void setTop(TopBean top) {
            this.top = top;
        }

        public static class BottomBean {
            /**
             * cart_number : 0
             * is_seller : false
             */

            private int cart_number;
            private boolean is_seller;

            public int getCart_number() {
                return cart_number;
            }

            public void setCart_number(int cart_number) {
                this.cart_number = cart_number;
            }

            public boolean isIs_seller() {
                return is_seller;
            }

            public void setIs_seller(boolean is_seller) {
                this.is_seller = is_seller;
            }
        }

        public static class TopBean {
            /**
             * headimgurl : http://gjmall.oss-cn-hangzhou.aliyuncs.com/gj/wxShopPhoto/%E6%96%B0%E9%87%91%E8%89%B2.jpg
             * shopdesc : 全球正品好货
             * shopname : 官方商城1
             */

            private String headimgurl;
            private String shopdesc;
            private String shopname;

            public String getHeadimgurl() {
                return headimgurl;
            }

            public void setHeadimgurl(String headimgurl) {
                this.headimgurl = headimgurl;
            }

            public String getShopdesc() {
                return shopdesc;
            }

            public void setShopdesc(String shopdesc) {
                this.shopdesc = shopdesc;
            }

            public String getShopname() {
                return shopname;
            }

            public void setShopname(String shopname) {
                this.shopname = shopname;
            }
        }
    }
}
